package com.koron.css2.baseConfig.mapper;

import com.koron.css2.baseConfig.bean.BaseCodeRuleBean;
import org.apache.ibatis.annotations.Param;

public interface BaseCodeRuleMapper {
	
	BaseCodeRuleBean selectCodeRule(String ruleCode);
	
	int addCodeRule(BaseCodeRuleBean bean);
	
	int updateLastSerial(@Param("ruleCode") String ruleCode, @Param("lastSerial") Integer lastSerial);

}
